package com.xcity.util;

import com.xcity.db.entity.Player;

public class SimplePlayer {

	public long id;
	public String name;
	public String icon;
	public byte sex;
	public int level;
	public int vipLvl;
	
	public SimplePlayer(Player player) {
		this.id = player.getId();
		this.name = player.getName();
		this.icon = player.getIcon();
		this.sex = player.getSex();
		this.level = player.getLevel();
		this.vipLvl = player.getVipLvl();
	}
	
}
